package com.dgut.uhrs.service;

import com.dgut.uhrs.bean.User;
import com.dgut.uhrs.mapper.AdminMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdminService {
    @Autowired
    private AdminMapper adminMapper;

    public List<String> adminLoginWithUserId(String userId) {
        return adminMapper.adminLoginWithUserId(userId);
    }
}
